import requestFile from "../utils/requestFile";

export const downloadUserInfoApi = () =>requestFile('/user/excel',{
    method:'post',
    body:{
        filename:'用户数据'
    }
})

export const downloadRoleInfoApi = () => requestFile('/role/excel',{
    method:'post',
    body:{
        filename:'角色数据'
    }
})

export const downloadMenuInfoApi = () => requestFile('/menu/excel',{
    method:'post',
    body:{
        filename:'菜单数据'
    }
})